package com.bitdf.txing.product;

import com.alibaba.cloud.seata.feign.SeataFeignClientAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication(scanBasePackages = {"com.bitdf.txing.scanconfig"}, exclude = {SeataFeignClientAutoConfiguration.class})
@MapperScan("com.bitdf.txing.product.dao")
@EnableDiscoveryClient
@EnableCaching
@EnableFeignClients(basePackages = "com.bitdf.txing.product.feign")
public class TxMallProductApplication {

    public static void main(String[] args) {
        SpringApplication.run(TxMallProductApplication.class, args);
    }

}
